<extend name="Public/base"/>
<block name="body">
    <div class="main-title">
        <h2>{$_title}</h2>
    </div>
    <div  class="form-horizontal">
        <div class="form-item">
            <label class="item-label">名称：<span class="check-tips">{$trader.name|default=''}</span></label>
        </div>
        <div class="form-item">
            <label class="item-label">性别：<span class="check-tips">{$trader.sex_text|default=''}</span></label>
        </div>
        <div class="form-item">
            <label class="item-label">出生日期：<span class="check-tips">{:date('Y-m-d', $trader['birthday'])}</span></label>
        </div>
        <div class="form-item">
            <label class="item-label">学历：<span class="check-tips">{$trader.education_text|default=''}</span></label>
        </div>
        <div class="form-item">
            <label class="item-label">手机：<span class="check-tips">{$trader.mobile|default=''}</span></label>
        </div>
        <div class="form-item">
            <label class="item-label">基金管理年限：<span class="check-tips">{$trader.year|default=''}</span></label>
        </div>
        <div class="form-item">
            <label class="item-label">管理基金数量：<span class="check-tips">{$trader.count|default=''}</span></label>
        </div>
        <div class="form-item">
            <label class="item-label">QQ：<span class="check-tips">{$trader.qq|default=''}</span></label>
        </div>
        <div class="form-item">
            <label class="item-label">微信：<span class="check-tips">{$trader.weixin|default=''}</span></label>
        </div>
        <div class="form-item">
            <label class="item-label">创建时间：<span class="check-tips">{:date('Y-m-d H:i:s', $trader['create_time'])}</span></label>
        </div>
        <div class="form-item">
            <label class="item-label">更新时间：<span class="check-tips">{:date('Y-m-d H:i:s', $trader['update_time'])}</span></label>
        </div>
        <div class="form-item">
            <div class="item-label">状态：<span class="check-tips">{$trader.status_text}</span></div>
        </div>
        <div class="form-item">
            <label class="item-label">基金经理头像<span class="check-tips"></span></label>
            <div class="controls">
            	<div class="div-desc"><img src="{$trader.avatar_url|default='#'}"/></div>
            </div>
        </div>
        <div class="form-item">
            <label class="item-label">基金经理概要<span class="check-tips"></span></label>
            <div class="controls">
            	<textarea class="div-desc" name="abstract" readonly >{$trader.abstract|default=''}</textarea>
            </div>
        </div>
        <div class="form-item">
            <label class="item-label">基金经理风格<span class="check-tips"></span></label>
            <div class="controls">
            	<textarea class="div-desc" name="abstract1" readonly>{$trader.abstract|default=''}</textarea>
            </div>
        </div>
        <div class="form-item">
            <label class="item-label">基金经理业绩<span class="check-tips"></span></label>
            <div class="controls">
            	<textarea class="div-desc" name="abstract2">{$trader.abstract|default=''}</textarea>
            </div>
        </div>
        <div class="form-item">
            <label class="item-label">个人简介<span class="check-tips"></span></label>
        	<div class="controls">
                <div class="div-desc" >{$trader.brief|default=''}</div>
            </div>
        </div>
        <div class="form-item">
            <label class="item-label">管理基金产品<span class="check-tips"></span></label>
        	<div class="controls">
                <div class="div-desc" >
					<foreach name="fund" key="key" item="val">
						<div>
							<div>基金名称：<a href="{:U('Fund/fundList', array('condition'=>$val['id']))}">{$val.fund_name}</a></div>
							<div>总评论数：{$val.comment_count}</div>
							<div>　好评率：{$val.praise_rate}%</div>
							<div>　　状态：{$val.status_text}</div>
							<div>创建时间：{:date('Y-m-d H:i:s', $val['create_time'])}</div>
						</div>
						<br/>
					</foreach>
                </div>
            </div>
        </div>
        <div class="form-item">
            <button class="btn btn-return" onclick="javascript:history.back(-1);return false;">返 回</button>
        </div>
    </div>
</block>

<block name="script">
    <script type="text/javascript">
        //导航高亮
        highlight_subnav('{:U('Trader/traderList')}');
    </script>
</block>
